package com.my.ddd_sample_collections.association_object.south.adapter.clients;


import com.my.ddd_sample_collections.association_object.domain.MySubscriptions;
import com.my.ddd_sample_collections.association_object.domain.Subscription;
import com.my.ddd_sample_collections.association_object.domain.User;
import com.my.ddd_sample_collections.association_object.south.port.clients.SubscriptionsClient;

import java.util.List;

public class MySubscriptionsAPI implements MySubscriptions {
    private User user;
    private SubscriptionsClient client;


    public List<Subscription> subList(int from, int to) {
        return client.findSubscriptions(from, to);
    }

    @Override
    public double getTotalSubscriptionFee() {
        return 0;
    }

    @Override
    public int count() {
        return 0;
    }
}